//
//  UIButton+Block.h
//  AppForInterview
//
//  Created by fangyuan ding on 2020/12/10.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
//分类
typedef void  (^ActionBlock)(void);

@interface UIButton (Block)

@property (nonatomic, copy)NSString *Type;

@property (readonly)NSMutableDictionary *event;

- (void)handleControlEvent:(UIControlEvents)controlEvent withBlock:(ActionBlock)action;

@end

NS_ASSUME_NONNULL_END
